package com.zw.yzk.kabu.data.network.task;

/**
 * Created by zhanwei on 2017/3/4.
 */

public class HomePageTask extends Task {
    public static final int DEFAULT_COS_COUNT_PER_PAGE = 5;
    public int size = DEFAULT_COS_COUNT_PER_PAGE;//页面大小
    public int ownerId;//被访问者id
    public String ownerName;
    public int start;//开始索引
    public int lastId;


    public HomePageTask(int ownerId, int start, int lastId) {
        this.ownerName = "";
        this.ownerId = ownerId;
        this.start = start;
        this.lastId = lastId;
    }

    public HomePageTask(String ownerName, int start, int lastId) {
        this.ownerId = 0;
        this.ownerName = ownerName;
        this.start = start;
        this.lastId = lastId;
    }
}
